package com.lsege.mapper.backstage;

import com.lsege.entity.backstage.Delivery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2017/7/6.
 */
@Mapper
@Repository(value = "DeliveryMapper")
public interface DeliveryMapper {
    List<Delivery> queryDeliveryList();
    Long queryDeliveryCount();
    void addDelivery(Delivery delivery);
    Long getDeliveryCount (Delivery delivery);
    void deleteDeliver(Delivery delivery);
}
